[INFO] fetching crate toml_document 0.1.3...
[INFO] checking toml_document-0.1.3 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate toml_document 0.1.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate toml_document 0.1.3 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate toml_document 0.1.3
[INFO] finished tweaking crates.io crate toml_document 0.1.3
[INFO] tweaked toml for crates.io crate toml_document 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7f45565901ca872b61bdda1c1349c692b689051b9b21caa1a0fdee9f36a743a
[INFO] running `Command { std: "docker" "start" "-a" "a7f45565901ca872b61bdda1c1349c692b689051b9b21caa1a0fdee9f36a743a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7f45565901ca872b61bdda1c1349c692b689051b9b21caa1a0fdee9f36a743a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7f45565901ca872b61bdda1c1349c692b689051b9b21caa1a0fdee9f36a743a", kill_on_drop: false }`
[INFO] [stdout] a7f45565901ca872b61bdda1c1349c692b689051b9b21caa1a0fdee9f36a743a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3be324e2b2445a81d487f3f71a1f618b6ebb7428fb51b9c8b9e5a3cdfd28a69
[INFO] running `Command { std: "docker" "start" "-a" "b3be324e2b2445a81d487f3f71a1f618b6ebb7428fb51b9c8b9e5a3cdfd28a69", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking toml_document v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/parser.rs:262:25
[INFO] [stdout]     |
[INFO] [stdout] 262 |                     'a' ... 'z' |
[INFO] [stdout]     |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/parser.rs:263:25
[INFO] [stdout]     |
[INFO] [stdout] 263 |                     'A' ... 'Z' |
[INFO] [stdout]     |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/parser.rs:264:25
[INFO] [stdout]     |
[INFO] [stdout] 264 |                     '0' ... '9' |
[INFO] [stdout]     |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]     --> src/parser.rs:1091:19
[INFO] [stdout]      |
[INFO] [stdout] 1091 |     match c { '0' ... '9' => true, _ => false }
[INFO] [stdout]      |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 try!(write!(f, "{}", value));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     try!(write!(f, "{}", sep));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         try!(write!(f, "{}[", self.markup().get_leading_trivia()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         try!(fmt_join(f, self.iter(), ","));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         try!(write!(f, "{}", self.markup().get_comma_trivia()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/display.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |         try!(write!(f, "]{}", self.markup().get_trailing_trivia()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         try!(write!(f, "{}{{", self.markup().get_leading_trivia()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         try!(fmt_join(f, self.iter(), ","));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         try!(write!(f, "}}{}", self.markup().get_trailing_trivia()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         try!(write!(f, "{}", self.keys().get_leading_trivia()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |         try!(fmt_join(f, self.keys().markup().iter(), "."));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         try!(write!(f, "{}", self.keys().get_trailing_trivia()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |             try!(write!(f, "[["));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             try!(write!(f, "["));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             try!(write!(f, "]]"));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/display.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             try!(write!(f, "]"));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/parser.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ascii::AsciiExt;
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/public.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     -> Box<Iterator<Item = (&'a str, EntryRef<'a>)> + 'a> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     -> Box<dyn Iterator<Item = (&'a str, EntryRef<'a>)> + 'a> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:2122:43
[INFO] [stdout]      |
[INFO] [stdout] 2122 | ...                   -> Box<Iterator<Item=(&'a str, EntryRef<'a>)> + 'a> {
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 2122 |                                    -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)> + 'a> {
[INFO] [stdout]      |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/public.rs:133:36
[INFO] [stdout]     |
[INFO] [stdout] 133 | ...                   -> Box<Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 133 |                             -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:1143:32
[INFO] [stdout]      |
[INFO] [stdout] 1143 |                         -> Box<Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1143 |                         -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:1275:32
[INFO] [stdout]      |
[INFO] [stdout] 1275 |                         -> Box<Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1275 |                         -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:1792:30
[INFO] [stdout]      |
[INFO] [stdout] 1792 |     pub fn iter(self) -> Box<Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1792 |     pub fn iter(self) -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:1901:30
[INFO] [stdout]      |
[INFO] [stdout] 1901 |     pub fn iter(self) -> Box<Iterator<Item=EntryRef<'a>> + 'a> {
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1901 |     pub fn iter(self) -> Box<dyn Iterator<Item=EntryRef<'a>> + 'a> {
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/public.rs:2001:28
[INFO] [stdout]      |
[INFO] [stdout] 2001 |                     -> Box<Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 2001 |                     -> Box<dyn Iterator<Item=(&'a str, EntryRef<'a>)>+'a> {
[INFO] [stdout]      |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parser.rs:559:31
[INFO] [stdout]     |
[INFO] [stdout] 559 |             let input = input.trim_left_matches('+');
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 559 |             let input = input.trim_start_matches('+');
[INFO] [stdout]     |                               ~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]  --> src/parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]  --> src/lib.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![deny(unused_imports)]
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `Write`
[INFO] [stdout]  --> src/display.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Error, Formatter, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:875:25
[INFO] [stdout]     |
[INFO] [stdout] 875 |                     let mut c_data = &mut vec[insert_idx]
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:428:33
[INFO] [stdout]     |
[INFO] [stdout] 428 | ...                   let mut cmap = &mut candidate.borrow_mut().data;
[INFO] [stdout]     |                           ----^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:384:36
[INFO] [stdout]     |
[INFO] [stdout] 384 |                 IndirectPos::Value(mut cmap) => { // E0409
[INFO] [stdout]     |                                    ----^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:401:25
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     let mut cmap = &mut candidate.borrow_mut().data;
[INFO] [stdout]     |                         ----^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:555:36
[INFO] [stdout]     |
[INFO] [stdout] 555 |                 IndirectPos::Value(mut cmap) => {
[INFO] [stdout]     |                                    ----^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:582:36
[INFO] [stdout]     |
[INFO] [stdout] 582 |                 IndirectPos::Value(mut cmap) => {
[INFO] [stdout]     |                                    ----^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:589:25
[INFO] [stdout]     |
[INFO] [stdout] 589 |                     let mut cmap = &mut candidate.borrow_mut().data;
[INFO] [stdout]     |                         ----^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/public.rs:595:29
[INFO] [stdout]     |
[INFO] [stdout] 595 |                         let mut cmap = &mut child.borrow_mut().data;
[INFO] [stdout]     |                             ----^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `lo` and `hi` are never read
[INFO] [stdout]   --> src/parser.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct ParserError {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 43 |     /// The low byte at which this error is pointing at.
[INFO] [stdout] 44 |     lo: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 45 |     /// One byte beyond the last character at which this error is pointing at.
[INFO] [stdout] 46 |     hi: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout] 6  | #![deny(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |             _ => panic!(error)
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 32 |             _ => panic!("{}", error)
[INFO] [stdout]    |                         +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:59:49
[INFO] [stdout]    |
[INFO] [stdout] 59 |     match chars.next().unwrap_or_else(|| panic!(error)) {
[INFO] [stdout]    |                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 59 |     match chars.next().unwrap_or_else(|| panic!("{}", error)) {
[INFO] [stdout]    |                                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:61:53
[INFO] [stdout]    |
[INFO] [stdout] 61 |         '\r' => assert!(chars.next() == Some('\n'), error),
[INFO] [stdout]    |                                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 61 |         '\r' => assert!(chars.next() == Some('\n'), "{}", error),
[INFO] [stdout]    |                                                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/lib.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |         _ => panic!(error)
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 62 |         _ => panic!("{}", error)
[INFO] [stdout]    |                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/public.rs:286:20
[INFO] [stdout]     |
[INFO] [stdout] 286 |             panic!(err.desc)
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 286 |             panic!("{}", err.desc)
[INFO] [stdout]     |                    +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/public.rs:2188:33
[INFO] [stdout]      |
[INFO] [stdout] 2188 |                     _ => panic!(super::MALFORMED_LEAD_MSG)
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]      |
[INFO] [stdout] 2188 |                     _ => panic!("{}", super::MALFORMED_LEAD_MSG)
[INFO] [stdout]      |                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]     --> src/public.rs:2213:35
[INFO] [stdout]      |
[INFO] [stdout] 2213 |     assert!(chars.next() == None, error);
[INFO] [stdout]      |                                   ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]      |
[INFO] [stdout] 2213 |     assert!(chars.next() == None, "{}", error);
[INFO] [stdout]      |                                   +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 45 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toml_document` (lib) due to 4 previous errors; 45 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "b3be324e2b2445a81d487f3f71a1f618b6ebb7428fb51b9c8b9e5a3cdfd28a69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3be324e2b2445a81d487f3f71a1f618b6ebb7428fb51b9c8b9e5a3cdfd28a69", kill_on_drop: false }`
[INFO] [stdout] b3be324e2b2445a81d487f3f71a1f618b6ebb7428fb51b9c8b9e5a3cdfd28a69
